import request from '@/utils/request'

export function getPermissionsList(data){
    return request({
        url:'/goods/permission/query',
        method:'post',
        data
    })
}
export function getPermissionsListAdd(data){
    return request({
        url:'/goods/permission/add',
        method:'post',
        data
    })
}
export function getPermissionsListEdit(data){
    return request({
        url:'/goods/permission/edit',
        method:'post',
        data
    })
}
//供应商列表数据。
export function getPermissionsSupplierList(params){
    return request({
        url:'/purchase/supplier/groupid/list',
        method:'get',
        params
    })
}